#noCompile

div "#mynav.navbar.navbar-default.navbar-fixed-top", role: "navigation", ->
	div ".container", ->
		div ".navbar-header", ->
			a ".navbar-brand", href: "/", ->
				span "Magic"
		div ".collapse.navbar-collapse", ->
			ul ".nav.navbar-nav", ->
				li ->
					a href: "/blog", "Blog"
				li ->
					a href: "/tag", "Tag"
				li ->
					a href: "/view", "View"
			ul ".nav.navbar-nav.navbar-right", ->
				li ->
					a href: "/about", "About"
	
	div "#eachblog.container.eachblog.javascript", ->
		div ".row.blog-wrapper", ->
			div ".tree-select", ->
				div ".blog-head", ->
					h1 "冒个泡"
					div ".row.time-and-comment", ->
						span ".time", "2014-8-8 1:6"
				div ".blog-content.blogcontent", ->
					blockquote ->
						p "For testing "
						p "For testing "
						p "For testing "
						p "For testing "
						p "For testing "
						p "For testing "
						p "For testing "
						p "For testing "
						p "For testing "
						p "For testing "
						p "For testing "
					p "links"
	div ".footer", ->
		div ".container-fluid", ->
			div ".container", ->
				div ".row", ->
					div ".col-md-12", ->
						ul ".list-inline", ->
							li ->
								text "Power By &nbsp;"
								a href: "http://nodejs.org/", "Node.js"
							li ->
								text "Sprit By &nbsp;"
								a href: "https://github.com", "Github"
							li ->
								text "2014, &nbsp;code By &nbsp;"
								a href: "http://lkytal.github.io/", "lkytal"
								
	a "#scrollUp", style: "position: fixed; z-index: 2147483647;", title: "Top", href: "javascript:void()", "Top"
	script src: "http://libs.baidu.com/jquery/1.9.0/jquery.min.js"
	script """
		$('#scrollUp').on('click', function(e) {
			$('body,html').animate( { scrollTop: 0 }, 400);
		})
		"""
	